package com.soft.javase.ch02.test01;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/17
 */
public class Student extends Person {
    public Student() {
    }

    public Student(String name, int age) {
        super(name, age);
    }

    public void study() {
        System.out.println("有个学生叫"+this.getName()+", "+this.getAge()+"岁,正在学习");
    }
}
